var Mock = require('mockjs');

exports.response = function(req, res) {
  return Mock.mock({
    "msg": "OK",
    "code": 0,
    "data": {
      "date":{
        "firstdate":"2017-12-04",
        "begindate":"2018-03-12",
        "enddate":"2018-04-17",
        "lastdate":"2018-04-25"
      },
      list:[
        {
          "name": "自动化",
          "id": "503001"
        }, {
          "name": "成松豪",
          "id": "503002"
        }, {
          "name": "郑润泽",
          "id": "503012"
        }, {
          "name": "自动化",
          "id": "54701"
        }, {
          "name": "成松豪",
          "id": "54702"
        }, {
          "name": "池彬汉",
          "id": "54703"
        }, {
          "name": "王宇帆",
          "id": "54704"
        }, {
          "name": "徐馨怡",
          "id": "54705"
        }, {
          "name": "顾代回",
          "id": "54708"
        }, {
          "name": "余敬鹏",
          "id": "54709"
        }, {
          "name": "万明杰",
          "id": "54710"
        }, {
          "name": "修子行",
          "id": "54711"
        }, {
          "name": "郑润泽",
          "id": "54712"
        }, {
          "name": "袁诗林",
          "id": "54714"
        }, {
          "name": "江烁",
          "id": "54715"
        }, {
          "name": "赖",
          "id": "54716"
        }, {
          "name": "邵柯楠",
          "id": "54717"
        }, {
          "name": "刘昌易",
          "id": "54718"
        }, {
          "name": "测试账号1",
          "id": "zero_case"
        }, {
          "name": "测试账号2",
          "id": "zero_case1"
        }
      ]
    }
  })
}
